package com.example.springboot.vo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;
import java.util.Set;

@Data
@Component
@ConfigurationProperties(prefix = "demo")
public class Person {

    String name;
    int age;
    String[] likes;
    List<String> schools;
    Set<Person> friends;
    Map<String,String> familys;
    List<Map<String,Object>> dogs;
}
